﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OmronLib.Base
{
    public class FinsHeaderErrors
    {
        public static Dictionary<string, string> Errors = new Dictionary<string, string>()
        {
            {"00000001", "数据头不是FINS或ASCII格式" },
            {"00000002", "数据长度过长" },
            {"00000003", "命令（Header功能码）错误" },
            {"00000020", "连接/通信被占用" },
            {"00000021", "指定的节点已经被连接" },
            {"00000022", "尝试从未描写的IP地址访问受保护节点" },
            {"00000023", "客户端FINS节点地址超出范围" },
            {"00000024", "客户端和服务器正在使用相同的FINS节点地址" },
            {"00000025", "所有可供分配的节点地址都已被使用" },
        };
    }
}
